package cn.powertime.evaluation.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description="帖子评论对象")
public class WebRespPostingsCommentListVo implements Serializable {

    @ApiModelProperty(value="评论ID",name="id")
    private Long id;
    @ApiModelProperty(value="内容",name="content")
    private String content;
    @ApiModelProperty(value="用户名",name="userName")
    private String userName;
    @ApiModelProperty(value="用户ID",name="userId")
    private Long userId;
    @ApiModelProperty(value="用户图像",name="avatar")
    private Long avatar;
    @JsonIgnore
    private Date createDate;
    @ApiModelProperty(value="发表时间",name="createDate")
    private String date;
//    @ApiModelProperty(value="评论子集",name="child")
//    private List<WebRespPostingsCommentListVo> child;


}
